package com.java.oop;

public class StudentTest {
    public static void main(String[] args) {
        Student student = new Student("张三", 18, "男");
        //student.study();
        /*System.out.println(student.name);
        System.out.println(student.age);
        System.out.println(student.sex);*/

       /* student.setName("李四");
        student.setAge(19);
        student.setSex("女");*/
        System.out.println(student.getName());
        System.out.println(student.getAge());
        System.out.println(student.getSex());
    }
}
